var n = Object.defineProperty;
var r = (o, e, t) => e in o ? n(o, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[e] = t;
var s = (o, e, t) => (r(o, typeof e != "symbol" ? e + "" : e, t), t);
import { e as c } from "./chart.7669cf2e.js";
import { P as l, b as a, c as d, d as u, o as p } from "./index.b702b2b1.js";
const f = [
  "time",
  "\u4EA7\u91CF"
], m = [
  {
    time: "2021",
    \u4EA7\u91CF: 10
  },
  {
    time: "2022",
    \u4EA7\u91CF: 20
  },
  {
    time: "2023",
    \u4EA7\u91CF: 30
  }
], g = {
  output: {
    value: [
      10,
      35,
      78,
      34,
      56
    ]
  }
}, y = [
  "output"
], i = {
  dimensions: f,
  source: m,
  data: g,
  config: y
}, x = ["legend", "xAxis", "yAxis", "grid"], h = {
  name: "\u4EA7\u91CF",
  type: "line",
  stack: "Total",
  emphasis: {
    focus: "series"
  },
  lineStyle: {
    color: "rgba(98, 219, 237, 1)"
  },
  areaStyle: {
    color: new u(0, 0, 0, 1, [
      {
        offset: 0,
        color: "rgba(35,174,229,1)"
      },
      {
        offset: 1,
        color: "rgba(35,174,229,0.2)"
      }
    ]),
    opacity: 1
  },
  data: p(i.data)[0].value
}, b = {
  xAxis: {
    show: !0,
    type: "category",
    splitLine: {
      show: !0
    },
    data: [1, 2, 3, 4, 5]
  },
  yAxis: {
    show: !0,
    type: "value",
    splitLine: {
      show: !0
    }
  },
  dataset: { ...i },
  series: [h]
};
class L extends l {
  constructor() {
    super(...arguments);
    s(this, "key", a.key);
    s(this, "chartConfig", d(a));
    s(this, "option", c(b, x));
  }
}
export {
  L as default,
  x as includes,
  b as option,
  h as seriesItem
};
